import org.apache.spark.rdd.RDD
import org.apache.spark.{SparkConf, SparkContext}

import java.text.SimpleDateFormat

/**
 * @title:
 * @author: zhang
 * @date: 2022/2/15 19:34 
 */
object Test_foreach {
  def main(args: Array[String]): Unit = {
    val sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")
    println(sdf.parse("2019-07-17 00:03:01").getTime)
  }

}
